/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.cast.teseg.gui;

import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics;

/**
 *
 * @author edgarin
 */
public class CanvasPorcentaje extends Canvas{
    
    public int centroX =0;
    public int centroY =0;

    public CanvasPorcentaje() {
        this.setBackground(Color.WHITE);
        this.setSize(250,50);
        centroX=(getSize().width)/2;
        centroY=(getSize().height)/2;
    }
    
    //*** metodo para pintar el canvas ***//  falta terminar
    public void dibujarPorcentaje(){
        Graphics g = this.getGraphics();
        g.dispose();
    
    }

    
    
}
